package shoppingmall.jmu.orderitem.entity;

public class OrderItem {
	private String product;
	private double price;
	private int count;
	private String order_id;
	
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getOrder_id() {
		return order_id;
	}
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}
	
	public OrderItem(String product, double price, int count, String order_id) {
		super();
		this.product = product;
		this.price = price;
		this.count = count;
		this.order_id = order_id;
	}
	
	@Override
	public String toString() {
		return "Order [product=" + product + ", price=" + price + ", count="
				+ count + ", order_id=" + order_id + "]";
	}
}
